public class Demo2 {
    public class BinInsert {
        public int binInsert(int n, int m, int j, int i) {

            m = m << j;

            n = n | m;

            return n;
        }
    }
}
